﻿using System;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;

namespace AppManager.Background
{
    public class MvcApplication : HttpApplication
    {
        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();
            RouteConfig.RegisterRoutes(RouteTable.Routes);

            MapperConfig.RegisterMapper();
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);

            Bootstrapper.Initialise();
        }
    }
}